home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 7 / zcomd289.zip / ZCOMMDOC.AD < prev    next >
Text File  |  1989-02-23  |  80KB  |  1,801 lines

  1.  
  2.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  3.         ZCOMM User Manual                                                   91
  4.  
  5.  
  6.         grab svar Grab reads a line from the currently open transmit file into
  7.           the specified string parameter svar.  Unless b mode is on, all
  8.           characters starting with the first CR and/or LF are discarded.  Grab
  9.           inhibits transmission of the open file until g mode is explicitly
  10.           set by a command.
  11.  
  12.           On end of file the transmit file is closed and the string parameter
  13.           is set empty.  End of file can be tested with the t test condition.
  14.  
  15.           SEE ALSO: putv command
  16.  
  17.         HAndshake {off|on|cts|dsr|dcd|both|slow} Some modems and printers
  18.           cannot accept continuous full speed data.  These devices send
  19.           control characters (XOFF and XON) for flow control, or generate a
  20.           hardware flow control signal on the CTS, DSR, or DCD pin.  The
  21.           Handshake command controls the modem port hardware handshake
  22.           (default off).
  23.  
  24.           If hardware handshaking is selected, an ON to OFF transition on the
  25.           specified line pauses transmission, and an XON character will not
  26.           override the hardware restraint.
  27.  
  28.           After a timeout set by the S numeric parameter (default 60 seconds),
  29.           or if characters are in the keyboard input buffer, a warning message
  30.           is displayed, the restraint is released, and characters are sent.
  31.  
  32.           As a special case, handshake on obeys output flow control with the
  33.           CTS input signal, asserts input flow control with the RTS output
  34.           signal, and disables the transmission of XOFF characters when the
  35.           modem input buffer becomes nearly full.
  36.  
  37.           Some computers dot not support concurrent disk and serial I/O at
  38.           high speeds.  The handshake slow command drops the RTS signal to the
  39.           modem during disk writes when receiving files with YMODEM-g or
  40.           ZMODEM.
  41.  
  42.           The command handshake both allows either CTS or XOFF to pause
  43.           output, in addition to asserting input flow control with the RTS
  44.           output.
  45.  
  46.           The handshake dcd command enables d mode (q.v.).  Subsequently,
  47.           selecting a different type of handshaking will disable d mode.
  48.  
  49.           The handshake command releases flow control (allows data to flow if
  50.           it had been stopped by handshaking).
  51.  
  52.           Changing the communications port with the port or portx command
  53.           disables hardware handshaking.
  54.  
  55.           SEE ALSO: S numeric parameter
  56.  
  57.  
  58.  
  59.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  60.  
  61.  
  62.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  63.         ZCOMM User Manual                                                   92
  64.  
  65.  
  66.           EXAMPLE: handshake cts Turns on CTS handshaking.
  67.  
  68.  
  69.         help The help command uses the helpfile or xhelpfile string parameter
  70.           depending on whether ZCOMM is in host operation.  Normally, the help
  71.           command displays a command summary, pausing every 24 lines.
  72.  
  73.           If the string parameter begins with the character @, ZCOMM uses the
  74.           rest of the parameter as the initial command to access a pop-up help
  75.           program.  The contents of the f string parameter are added to this
  76.           command, separated by a space.  Thus, if helpfile contains "@yhp
  77.           /umanh.hlp", giving the help command from the main prompt executes
  78.           the DOS command "yhp /umanh.hlp main".
  79.  
  80.           If the called program leaves a file yamhelp.tmp containing script
  81.           commands in the current directory, ZCOMM executes this file with a
  82.           source command and then deletes it.
  83.  
  84.           SEE ALSO: f, helpfile, xhelpfile string parameters, source command
  85.  
  86.         history [histfile] Opens histfile for use as a dual 64 entry history
  87.           file for commands entered both at the ZCOMM command prompt and
  88.           online with the term function.  Histfile is a random access file
  89.           used as a pair of circular buffers to save commands for recall.
  90.           Only a file created by a previous history command may be used with
  91.           the history command.  If the specified histfile does not exist, it
  92.           is created.  Histfile stores commands with T or more characters
  93.           where T is the value of the T numeric parameter.
  94.  
  95.           If histfile is not specified with the history command, the current
  96.           history file is updated and closed.
  97.  
  98.           The history command may be given with a different file name whenever
  99.           desired to access useful commands saved from previous sessions with
  100.           a particular host or application.
  101.  
  102.           When history is enabled, the Up and Down function keys scroll
  103.           through previously entered commands.  Ctrl-P and Ctrl-N may be used
  104.           in place of Up and Down respectively.  An old command so selected
  105.           may be edited with editing keys and executed with the <ENTER> key.
  106.  
  107.           In the term function, the history accessed with the Up and Down keys
  108.           is displayed and edited in the status line. [9] A Ctrl-X clears the
  109.           recalled text and restores normal status line and keyboard
  110.           operation.
  111.  
  112.  
  113.         __________
  114.  
  115.          9. Unix/Xenix flavors only support Backspace editing in this mode.
  116.  
  117.  
  118.  
  119.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  120.  
  121.  
  122.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  123.         ZCOMM User Manual                                                   93
  124.  
  125.  
  126.           EXAMPLE: history /tmp/favbbs.hist
  127.  
  128.  
  129.           SEE ALSO: r command, T numeric parameter
  130.           N.B.: Be careful with the history command before you have entered
  131.           any secret passwords from the keyboard as these will be saved in the
  132.           history file.  The history command without an argument closes the
  133.           history file and disables command recall.  The T numeric parameter
  134.           may be set to a large value to inhibit storing of passwords in
  135.           histfile.
  136.  
  137.           Normally, histfile should be an absolute pathname to insure that the
  138.           same file will be used regardless of the directory from which ZCOMM
  139.           is called from.
  140.  
  141.           The history command is not available when Restricted.
  142.  
  143.           N.B.: Do not attempt to delete an open file on DOS, especially the
  144.           history file.
  145.  
  146.         host The host command conditions ZCOMM to accept incoming calls
  147.           unattended.  Host operation is described in Chapter 99.  The EXIT
  148.           key F1 disengages operation state.
  149.           NOTE: The host command is normally given only by a script that sets
  150.           parameters to their appropriate values.  Use the "host" entry in the
  151.           distributed PHODIR.t file as a prototype for your application.
  152.  
  153.           SEE ALSO: remote command
  154.  
  155.         if condition command ... The if command provides powerful condition
  156.           testing for scripts.  If executes the command(s) on the rest of the
  157.           line if condition is true.  Otherwise, execution continues
  158.           immediately with the next script line.  Chapter 24 describes the
  159.           testable conditions.
  160.  
  161.           SEE ALSO: else, on commands
  162.  
  163.         ife condition cmd1 ...; cmd2 ... Execute cmd1 ...  if condition is
  164.           true; otherwise skip to the first semicolon in the rest of the line
  165.           and resume execution with cmd2.  Iff a semicolon is not present,
  166.           execution resumes at the end of the line, useful within the body of
  167.           a while command.
  168.  
  169.           EXAMPLE: set f5
  170.           @ife %s1 echo "s1 =%s1";  else echo "s1 not set"
  171.  
  172.  
  173.         kbdlock N * Controls acceptance of keyboarded characters by the term
  174.           function and during protocol file transfers.  If N is non zero, the
  175.           term function does not act upon key strokes.  If N is greater than
  176.           1, key strokes have no effect on protocol transfers.  The Ctrl-Break
  177.  
  178.  
  179.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  180.  
  181.  
  182.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  183.         ZCOMM User Manual                                                   94
  184.  
  185.  
  186.           key and the command prompt reset kbdlock to 0.  If N is 257, the
  187.           Ctrl-Break key does not reset Kbdlock.  Kbdlock does not affect the
  188.           k test condition or the accept command.  Characters typed while
  189.           kbdlock is on will become available at the next command prompt,
  190.           accept command, or when kbdlock is reset unless typeahead is purged
  191.           with the purgek command.
  192.  
  193.           SEE ALSO: purgek command, Ctrl-Break key
  194.  
  195.         kbdmon [file] captures keystrokes to file.  If file exists, it is
  196.           appended to.  Function keys are denoted by an 0xFF character
  197.           followed by the code returned by the BIOS.  The kbdmon command
  198.           without an argument closes the file.  This command is not available
  199.           when Restricted.
  200.  
  201.         kermit By itself, selects the Kermit protocol for use by commands such
  202.           as !!  which depend on the history for protocol selection.
  203.  
  204.         Kermit rb [-options] Kermit rb receives files using the Kermit file
  205.           transfer protocol.  Chapter 17 describes the available options.
  206.           File names are given by the sending program.  The Kermit programs
  207.           must have compatible parity settings as described in Chapter 11,
  208.           Kermit Protocol.
  209.  
  210.           Kermit rb receives files from a regular Kermit program; use the get
  211.           command to receive files from a Kermit server.
  212.  
  213.           EXAMPLE: kermit pi1;  kermit rb Downloads files from an IBM
  214.           mainframe.
  215.  
  216.  
  217.           ZCOMM's term function will sense the remote Kermit's parity setting
  218.           and download files without user intervention When the remote Kermit
  219.           starts sending, if K (Kermit autodownload) mode is enabled (the
  220.           default).
  221.  
  222.         Kermit sb [-options] pathspec Kermit sb sends the specified files to
  223.           either a regular Kermit program or a Kermit server.  Chapter 17
  224.           describes the available options.  The Kermit programs must have
  225.           compatible parity settings as described in Chapter 11, Kermit
  226.           Protocol.
  227.  
  228.           EXAMPLE: kermit pi1;  kermit sb file ...  Sends the specified files
  229.           to an IBM mainframe.
  230.  
  231.  
  232.         keys Keys displays the definitions the user has assigned to the
  233.           function keys.
  234.  
  235.         ki Clears the y0...y127 string parameters and causes circular buffer
  236.           writing operations to ignore that data from the remote which has
  237.  
  238.  
  239.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  240.  
  241.  
  242.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  243.         ZCOMM User Manual                                                   95
  244.  
  245.  
  246.           already been displayed.
  247.  
  248.  
  249.           EXAMPLE: The script fragment
  250.  
  251.               pat 1c "///BEGIN///"   "@ki create -+ print.fil"
  252.               pat 2c "///END///"   "@close"
  253.               wait -f30000
  254.  
  255.           will capture the data that arrives between "///BEGIN///" and the end
  256.           of the string "///END///".  Other data from the remote will not be
  257.           captured to disk.  The long pattern match fail time (30000 seconds)
  258.           makes the the cycle repeat almost indefinitely.
  259.  
  260.  
  261.           SEE ALSO: W mode
  262.  
  263.         kill Erases (flushes) all data stored in the circular buffer and
  264.           restores the buffer pointers to their initial positions.
  265.  
  266.         kill [-signum] procnum Available on Unix and OS/2 flavors, this form
  267.           of the kill command supports interprocess communications.  If signum
  268.           is absent, the kill command checks for the existence of the
  269.           specified process, but does not send it a signal.  Success sets the
  270.           ?  numeric parameter to 0, otherwise -1.
  271.  
  272.           SEE ALSO: createx command, Unix kill(1)
  273.  
  274.         l, ll, ls, lx For Unix users, synonyms for the dir commands.
  275.  
  276.         learn lfile TurboLearn(TM) Script Writer records timing information
  277.           and term function keystrokes to lfile.  The TurboLearn program
  278.           tlearn.exe then generates a script using this data.  Normally,
  279.           learning is initiated after the connection has been established, but
  280.           before the first prompt is received from the remote.  This is best
  281.           accomplished with the F4 key, which activates the tlearn telephone
  282.           directory entry.
  283.  
  284.           Function keys, cursor keys, reassigned keys, and scripts[10] should
  285.           not be used while learning.
  286.  
  287.           When accepting passwords and other sensitive information, systems
  288.           sometimes acknowledge each keyboard character with #, *, x, or X,
  289.           instead of the keyboarded character itself.  When this happens, do
  290.           not type characters faster than the remote responds to them.
  291.  
  292.  
  293.         __________
  294.  
  295.         10. Other than the dialing script
  296.  
  297.  
  298.  
  299.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  300.  
  301.  
  302.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  303.         ZCOMM User Manual                                                   96
  304.  
  305.  
  306.           The resulting script should be examined for evidence of keyboarding
  307.           mistakes, line noise, and dependence on prompts that change each
  308.           time you access the system.
  309.  
  310.           The comments below apply when the tlearn script is not used.
  311.  
  312.           EXAMPLE:                 kill
  313.                           123-4567; learn lfile
  314.  
  315.           From the ZCOMM main command prompt, enter the desired phone number.
  316.           When ZCOMM connects, the learn command enters the term function with
  317.           learning (recording) turned on.
  318.  
  319.                           <keyboard the operations you wish recorded>
  320.  
  321.           Login to the bulletin board as usual.  If you make keyboarding
  322.           mistakes, you can edit the script file later.
  323.  
  324.                           ALT-C F1
  325.  
  326.           Terminate learning with ALT-C, and return to the main command prompt
  327.           with the F1 key.
  328.  
  329.                           !tlearn lfile >newscript
  330.  
  331.           From the main command prompt, execute the TurboLearn program tlearn
  332.           with a DOS Gateway.
  333.  
  334.  
  335.           After recording, the tlearn program reads lfile and generates a
  336.           series of pattern and put script commands to let ZCOMM search for
  337.           the prompts and respond with the proper keystrokes.  The resulting
  338.           script file newscript may be accessed with the source command.
  339.  
  340.           Alternatively, the last command above may be replaced with
  341.  
  342.                           !tlearn -d newdirname lfile >>phones.t
  343.  
  344.           to add the new script to the end of your telephone directory.
  345.  
  346.           The -d dirname causes tlearn to prepend the given new directory
  347.           entry name newdirname and the telephone number to the resulting
  348.           script commands.  The redirection characters >> add the script
  349.           commands to the end of your telephone directory.
  350.  
  351.           You can also use the -d newdirname option to tlearn to prepare a new
  352.           directory entry in a separate file.  Then you can edit this file and
  353.           add it somewhere within your telephone directory.
  354.  
  355.         link * Link two serial ports.  The link command allows remote access
  356.           to a computer or other device connected to another port.  For
  357.  
  358.  
  359.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  360.  
  361.  
  362.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  363.         ZCOMM User Manual                                                   97
  364.  
  365.  
  366.           example, if port 1 is connected to an autoanswer modem and port 2 is
  367.           connected to a local timesharing machine, the link command would
  368.           allow dial-up callers access to the timesharing machine.  Chapter
  369.           15.5 describes the link command.
  370.  
  371.         list pathspec The list command uses standard DOS character output
  372.           routines and any installed CRT device driver instead of ZCOMM's own
  373.           CRT driver.  The printer can be enabled with ^P given to DOS (not
  374.           ZCOMM).  List the specified file(s).
  375.  
  376.           This command closes any open transmit file.  ZCOMM detects SQueezed
  377.           files and prints them in ASCII.* List pauses/resumes printing with
  378.           ^S.  Keyboarding ^C cancels, and ^X skips to the next file (it might
  379.           take a few whacks of the keyboard to get ZCOMM to hear it.) The list
  380.           command defaults to a type command when ZCOMM is in host operation.
  381.  
  382.           EXAMPLE: list *.cq
  383.  
  384.  
  385.           SEE ALSO: browse, type, page commands
  386.  
  387.         lput string Displays string on the console display.  String is
  388.           processed for character escapes.  Lput is useful for scripts sending
  389.           cursor control codes to the screen.  Control characters and escape
  390.           sequences used with the lput command are always decoded with ZCOMM's
  391.           default extended VT52/Z19 emulation, which also recognizes ANSI "ESC
  392.           [" sequences, regardless of which display emulation is selected.
  393.           Unlike the echo command, lput does not display in reverse video and
  394.           does not add a carriage return/linefeed to its argument.
  395.  
  396.           SEE ALSO: echo command
  397.  
  398.         lputp string Outputs string to the line printer.  String is processed
  399.           for character escapes.  Strings with embedded nulls (represented
  400.           with the \000 character escape) may be used.  The lput command
  401.           should not be used if the printer is jammed, out of paper, or off
  402.           line.  These conditions may be tested with the l test condition.
  403.           This command is not allowed when ZCOMM is Restricted.
  404.  
  405.           EXAMPLE: if l lputp "\E\017" If the printer is ready, ZCOMM sends
  406.           ESC SI to select compressed printing on an IBM 80 CPS printer.
  407.  
  408.  
  409.           SEE ALSO: l numeric parameter, l test condition, \dNNN (decimal)
  410.           character escapes
  411.  
  412.         menu Execute script commands from the file name stored in the string
  413.           parameter menu.
  414.  
  415.         message The message command allows a caller to keyboard a message
  416.           which will be appended to a file specified by the string parameter
  417.  
  418.  
  419.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  420.  
  421.  
  422.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  423.         ZCOMM User Manual                                                   98
  424.  
  425.  
  426.           messages.  The message command allows the caller to type in up to 64
  427.           lines of text.  A blank line terminates the message.  This command
  428.           is intended for short messages; long messages should be uploaded
  429.           with a file transfer protocol.  Keyboarding is controlled by the Z
  430.           numeric parameter, which sets the hot zone column after which a
  431.           keyboarded space character begins a new line.
  432.  
  433.         mk [scancode shiftstate class string] Assign term function keyboard
  434.           mapping.  Without an argument, mk resets and disables keyboard
  435.           mapping.  The mk command is described in Chapter 24.
  436.  
  437.           SEE ALSO: N numeric parameter
  438.  
  439.         more pathspec See page command.
  440.  
  441.         mput string The mput command transmits string to the remote at full
  442.           speed.  String is processed for character escapes.  Unlike the put
  443.           and putw commands, mput does not display characters coming from the
  444.           remote (they are held in the interrupt buffer).  Control and other
  445.           special characters may be entered with character escapes.  If a
  446.           carriage return should be sent, it must be explicitly coded with \r
  447.           at the end of the string.
  448.  
  449.           SEE ALSO: put, putw commands
  450.  
  451.         nolog * Suppress generation of the next log entry (of any kind).
  452.  
  453.           EXAMPLE: mysys           nolog speed 1200 123-4567 t
  454.           Suppresses the log entry that would otherwise be made if the calllog
  455.           string parameter is set.
  456.  
  457.  
  458.         nulls n When accessing ZCOMM in host operation, nulls sets the number
  459.           of nulls (default 0) sent after each linefeed to allow slow
  460.           terminals time to scroll.
  461.  
  462.           EXAMPLE: nulls 4
  463.  
  464.  
  465.         o Terminates a data call by dropping DTR (Data Terminal Ready).  A bye
  466.           or speed n command must be given to reassert DTR before making or
  467.           answering another data call.[11] The o command does not release
  468.           ownership of the serial port.
  469.  
  470.           SEE ALSO: speed, bye, off, port commands
  471.  
  472.  
  473.         __________
  474.  
  475.         11. Most telephone directory entries include a speed command.
  476.  
  477.  
  478.  
  479.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  480.  
  481.  
  482.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  483.         ZCOMM User Manual                                                   99
  484.  
  485.  
  486.         obey string * Sometimes one wishes to execute the contents of a string
  487.           parameter as a ZCOMM command.  Other times one needs to reference a
  488.           pathname stored in a string parameter in the context of a command
  489.           that does not itself perform string substitution on its argument(s).
  490.  
  491.           Obey executes string as a ZCOMM command.  Character escapes in
  492.           string are substituted before execution.
  493.  
  494.           EXAMPLE: obey ">>%s0" Redirects the output of utility commands to
  495.           the pathname stored in string parameter s0.
  496.  
  497.  
  498.           EXAMPLE: pat 19c "OBEY-LAST" "@obey %y2" Sets pattern 19 to execute
  499.           the previous line received from the remote when the string "OBEY-
  500.           LAST" is received.
  501.  
  502.           N.B.: The remainder of the line after the obey command will be
  503.           executed unless execution of string is terminated by a return or
  504.           fail command.  The construction obey "if xxx goto foo" May be used
  505.           only if no commands follow the obey command's string argument.
  506.           N.B.: Backslashes in file names used with the obey command must be
  507.           escaped.
  508.           N.B.: When the obey command is used to substitute file names, file
  509.           names containing separator or operator characters such as & may
  510.           change the syntax of the resulting command.  For instance, the
  511.           pathological but legal DOS filename foo&&999.bar would cause obey if
  512.           f%thisfile gosub dofile to expand to if ffoo&&999.bar gosub dofile
  513.           to parse as a test for a match to an illegal pattern 999.
  514.  
  515.         off Disable the modem by dropping DTR (Data Terminal Ready), [12]
  516.           signal release ownership of the serial port, and exit to the
  517.           operating system.  Exit status is the value of the ?  numeric
  518.           parameter.
  519.  
  520.           The next program must select the port and initialize it to reassert
  521.           DTR before making or answering another data call.
  522.  
  523.           SEE ALSO: bye, x, o, port commands
  524.  
  525.         on [condition rest-of-line] * Executes rest-of-line if condition is
  526.           true.  Condition is tested after each command line executes, unless
  527.           a return or fail command is executed, or when pattern is the last
  528.           command on the line.  An on command without predicate (on a line by
  529.           itself) cancels the on command active at that script level.
  530.  
  531.  
  532.  
  533.         __________
  534.  
  535.         12. The modem must be configured to use Data Terminal Ready (DTR).
  536.  
  537.  
  538.  
  539.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  540.  
  541.  
  542.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  543.         ZCOMM User Manual                                                  100
  544.  
  545.  
  546.           EXAMPLE: on
  547.  
  548.           The term function may be accessed with the wait command and no
  549.           patterns active to force an exit on loss of carrier detect or
  550.           pattern search timeout.  Otherwise, ZCOMM could remain in term
  551.           function until a command is keyboarded.  Typical commands to use
  552.           with the on statement are goto, return, off, and abort.  Chapter 24
  553.           describes the testable conditions.
  554.  
  555.           One active on statement is available for each level of script.  The
  556.           on statement does not propagate to succeeding script levels.
  557.  
  558.           When rest-of-line is executed, the on statement at that level is
  559.           cancelled.  An on command cancels any previous on command at that
  560.           script level.
  561.  
  562.           EXAMPLE: on !c goto fooend Branches to fooend if the carrier drops
  563.           out.
  564.  
  565.           SEE ALSO: wait, if commands
  566.           NB: No other commands may be on the line after the on command except
  567.           for its predicate.
  568.  
  569.         open [-modes] file Opens file for transmission with the term function
  570.           with modes.  The open command should be used when you don't want to
  571.           enter the term function immediately, or are already in it.  In other
  572.           situations, it may be necessary to open the file before dialing to
  573.           allow transmission immediately after connection, without the delay
  574.           of opening the file from a floppy disk.
  575.  
  576.           SEE ALSO: seek, read, close commands
  577.  
  578.         page pathspec Type the file(s) specified in pathspec a screenfull at a
  579.           time.  When the screen is filled up, the More?  prompt appears.
  580.           Typing space displays another screenfull.  Typing ^X skips to the
  581.           next file.  Typing ^K or ^C terminates the command.  This command
  582.           closes any open transmit file.  ZCOMM automatically detects SQueezed
  583.           files and prints them in ASCII.*
  584.  
  585.           EXAMPLE: page *.doc
  586.  
  587.  
  588.           SEE ALSO: browse, type, list, findmore commands
  589.  
  590.         PATtern [n[cilpv$] string [action]] (n = 0...24) The pattern command
  591.           allows ZCOMM to search for up to 25 different responses from a
  592.           remote computer, and take action based on which of those responses
  593.           (or none) was "seen".  A pattern match can execute specified script
  594.           command(s) "on the fly" (c modifier) or return control to the
  595.           calling script with an indication of which pattern was matched.
  596.  
  597.  
  598.  
  599.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  600.  
  601.  
  602.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  603.         ZCOMM User Manual                                                  101
  604.  
  605.  
  606.           The pattern command causes the next t, f, or wait command (term
  607.           function) to search for string in the data received from the
  608.           remote/modem.  String must be entered exactly as it will be received
  609.           from the modem, in the same case and with the same embedded spaces
  610.           or tabs.  Control characters must be represented with ZCOMM
  611.           character escapes.  The metacharacter \256 matches any single
  612.           character.  ZCOMM %string substitutions may be used to define search
  613.           patterns.  If the % character is to be searched for, it must be
  614.           represented as \045.
  615.  
  616.           Parity, NULL, RUBOUT, XON, and XOFF characters received from the
  617.           remote do not affect pattern searches.  If Kermit AutoDownload (A
  618.           mode) is set, strings with SOH (Ctrl-A) cannot be matched.  If
  619.           ZMODEM AutoDownload (Z mode) is set, strings with CAN (Ctrl-Z)
  620.           cannot be matched.  If B protocol (c mode) is set, strings with DLE
  621.           or ENQ cannot be matched.
  622.  
  623.           Strings of up to 33 characters each may be specified for
  624.           simultaneous search by the term function.  The search patterns are
  625.           "global" among all script levels; a pattern command in a subroutine
  626.           affects the patterns set by the calling script(s) and vice versa.
  627.  
  628.           The term function returns when one of the patterns is matched or
  629.           when the term function times out with f seconds with no characters
  630.           from the remote, as determined by the f numeric parameter, or when
  631.           carrier detect is lost.  The first wait, t or f command given after
  632.           the pattern command begins the search.
  633.  
  634.           When one of the patterns is matched, that pattern is marked as found
  635.           and its corresponding action is executed (if present).  ZCOMM will
  636.           remain in the term function until there is a pause in data
  637.           transmission from the remote[13] unless the i or c modifier is used.
  638.  
  639.           The following modifiers may be used.  The c, i, and l modifiers are
  640.           mutually exclusive.
  641.  
  642.           c     The pattern is marked as found and action executed (if
  643.                 present).  The term function then continues searching.
  644.                 Matching this pattern does not cause a return from the term
  645.                 function.  The condition for this pattern will test true, but
  646.                 the n test condition is not affected.
  647.  
  648.           i (Immediate) The pattern is marked as found and action executed (if
  649.                 present).  The term function then returns immediately.
  650.  
  651.  
  652.  
  653.         __________
  654.  
  655.         13. Pause length is specified by the q numeric parameter.
  656.  
  657.  
  658.  
  659.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  660.  
  661.  
  662.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  663.         ZCOMM User Manual                                                  102
  664.  
  665.  
  666.           l (line end delay) The pattern is marked as found and action
  667.                 executed (if present).  The term function then returns after
  668.                 the first LF character following the matched string.
  669.  
  670.           p (permanent) A pattern with the p modifier is not reset by the
  671.                 pattern command without arguments.  Patterns with the p
  672.                 modifier may be used to search for disconnect messages within
  673.                 an entire script.  Permanent patterns are reset by the call
  674.                 command, each item in the outcall queue, and an explicit
  675.                 pattern command referencing that particular pattern number.
  676.  
  677.                 EXAMPLE: pattern 20 "\nCLR" "@off" Disconnects and exits ZCOMM
  678.                 if the phrase CLR is seen immediately following an LF.
  679.  
  680.  
  681.           v (verbose) The v modifier displays a message when the pattern is
  682.                 matched.  This is often useful when debugging scripts when the
  683.                 large amount of output generated by large v numeric parameter
  684.                 values is not desired.
  685.  
  686.                 EXAMPLE:                 pat 5v "Finished Already."
  687.  
  688.  
  689.           $     Sometimes the only way to recognize a prompt (as distinct from
  690.                 the same string embedded in other data) is to require the
  691.                 prompt to be the last thing sent by the remote, before a
  692.                 pause.  The $ modifier allows string to be matched only if the
  693.                 remote pauses for 1 to 2 seconds after transmitting the last
  694.                 character in string.
  695.  
  696.           The optional action is a string to be sent to the remote, or
  697.           executed as a command if it begins with "@".  Action is executed the
  698.           instant the last character of the pattern is matched.  Action must
  699.           not use the goto, f, t, or wait commands.
  700.  
  701.           The pattern command without any arguments clears the patterns that
  702.           don't have the p modifier, and terminates pattern searching.  The
  703.           other events that terminate pattern search are a match to a pattern
  704.           that does not have the c modifier, a pattern search timeout, the
  705.           call, abort, or quit commands, a major error, or the NUKE key.
  706.  
  707.           EXAMPLE:                 pat 0c$ "" "\21"
  708.           Sends one XON character every time there is a pause in output from
  709.           the remote.  This recovers from situations where the remote computer
  710.           stops because it receiveed a spurious XOFF character, or lost an XON
  711.           character.
  712.  
  713.  
  714.           In the pattern n string command, if string contains a repeating
  715.           sequence such as foo in foofoobar, the search may be unsuccessful if
  716.           part of the phrase is received immediately prior to the desired
  717.  
  718.  
  719.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  720.  
  721.  
  722.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  723.         ZCOMM User Manual                                                  103
  724.  
  725.  
  726.           string (foofoofoobar).
  727.  
  728.         port n Change the modem port to COMn.  On DOS, the legal values for n
  729.           are 1...18.  On Unix, the argument of the port command is a
  730.           character special file in /dev.
  731.  
  732.           Selecting a new port disables hardware handshaking.  The currently
  733.           defined ports are:
  734.           COM1 3F8 IRQ4 (Standard IBM)
  735.           COM2 2F8 IRQ3 (Standard IBM)
  736.           COM3 3E8 IRQ4 (Alternate)
  737.           COM4 2E8 IRQ3 (Alternate)
  738.           COM5 2B8 IRQ3 (Columbia)
  739.           COM6 2B8 IRQ2 (Alternate for IBM)
  740.           COM7 2F8 IRQ2 (Alternate for IBM)
  741.           COM8 278 IRQ2 (Alternate for IBM)
  742.  
  743.           COM9 Uses the port address and interrupt vector set by the
  744.           COM11-COM18 IBM PS/2 COM1-COM8 portx command.
  745.  
  746.           COM1 and COM2 are the standard serial ports defined by the IBM
  747.           Technical Reference Manual.
  748.  
  749.           COM3 and COM4 are supported by many serial cards and modem boards.
  750.           COM3 and COM1 share the same dedicated hardware interrupt line, and
  751.           these ports may not be used at the same time.  Likewise, COM4 and
  752.           COM2 may not be used at the same time.
  753.  
  754.           Columbia computers support COM5.  COM6 to COM8 are alternate
  755.           configurations that may be accessed by cross jumpering between
  756.           printer port decoders and serial port enables on some multifunction
  757.           boards.
  758.  
  759.           COM11 to COM18 correspond to "COM1" to "COM8" on IBM PS/2 computers.
  760.           Only one of COM12-COM18 may be used at a time unless using the
  761.           special OS/2 comm driver for that board.
  762.  
  763.           Since ZCOMM uses the interrupt line on the selected port, no other
  764.           program or device driver may use the same port address and/or
  765.           interrupt vector concurrently.  Certain disk controllers and mice
  766.           interfaces use IRQ2 and IRQ5.  Do not use IRQ2 on a PC-AT (the extra
  767.           8259 is not reset).  Do not select COM3 to COM18 unless you are
  768.           familiar with the I/O addresses and interrupt vectors used in your
  769.           machine.  Ports sharing the same interrupt vector (IRQ number)
  770.           cannot be used concurrently.
  771.  
  772.           The port command sets the d mode (which suppress the No Carrier
  773.           Detect Signal message).
  774.  
  775.           EXAMPLE: port 2
  776.  
  777.  
  778.  
  779.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  780.  
  781.  
  782.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  783.         ZCOMM User Manual                                                  104
  784.  
  785.  
  786.           DOS ZCOMM begins with COM1 unless overidden by the DPORT environment
  787.           variable.
  788.  
  789.           EXAMPLE: C>set DPORT=2
  790.  
  791.  
  792.           Unix and Xenix flavors have no default port.  If the DPORT
  793.           environment variable is set, that port will be selected when ZCOMM
  794.           initializes.  Otherwise, a port is selected by the startup and/or
  795.           dialing script.  Typical values are tty01 (386/ix) and tty2A
  796.           (Xenix).
  797.  
  798.           EXAMPLE: $ DPORT=2; export DPORT
  799.  
  800.  
  801.           SEE ALSO: handshake command, dport string parameter
  802.  
  803.         portx hbase,irq * To support specialized multiport serial interfaces,
  804.           the portx command selects a communications port with a specified
  805.           hexadecimal base address hbase and Interrupt Request Line irq (3 <=
  806.           irq <= 7).  The portx does not check its argument for validity.  The
  807.           consequences of an invalid selection are quite undefined.  The
  808.           specified base address and IRQ number are assigned to COM9, where
  809.           they may be used by the port command and the x numeric parameter.
  810.           This command not available on X.PC, Unix, Xenix, or OS/2.
  811.  
  812.           EXAMPLE: portx 3f8,4 Selects a comm port with a base address of 3f8,
  813.           using IRQ4.
  814.  
  815.  
  816.           SEE ALSO: intolink string parameter
  817.  
  818.         private The private command allows a caller to keyboard a message
  819.           which will be appended to a file specified by the private string
  820.           parameter.  The private command allows the caller to type in up to
  821.           64 lines of text.  A blank line terminates the message.  This
  822.           command is intended for short messages; long messages should be
  823.           uploaded with a file transfer protocol.  Keyboarding is controlled
  824.           by the Z numeric parameter, which sets the hot zone column after
  825.           which a keyboarded space character begins a new line.
  826.  
  827.         purgek Purge any characters the user may have typed ahead.*
  828.  
  829.         purgel Purge any unprocessed characters received from the modem Line
  830.           (remote).*
  831.  
  832.         put string The put command transmits string to the remote.  Use the
  833.           put command for transmittting commands to a modem or a remote
  834.           computer system.  String is processed for character escapes.
  835.           Control and other special characters may be entered with character
  836.           escapes described in chapter 22.  If a carriage return should be
  837.  
  838.  
  839.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  840.  
  841.  
  842.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  843.         ZCOMM User Manual                                                  105
  844.  
  845.  
  846.           sent, it must be explicitly coded with \r at the end of the string.
  847.  
  848.           EXAMPLE: put "myname\r" Sends myname followed by carriage return to
  849.           the modem.
  850.  
  851.  
  852.           A \336 (octal 336) character causes a pause in transmission
  853.           (duration controlled by the p numeric parameter).  This pause allows
  854.           one string to contain multiple commands.
  855.  
  856.           EXAMPLE: put "\336ATZ\r\336\336ATX1 M0 S0=1\r" Pauses, sends ATZ\r,
  857.           pauses (twice because some modems take longer to reset!), and then
  858.           sends ATX1 etc. to the modem.
  859.  
  860.  
  861.           Transmission with put is controlled by the 7, 8, h, p, w, and t
  862.           modes.
  863.  
  864.           SEE ALSO: putw, mput, putv commands
  865.  
  866.         putw string The putw command transmits string to the remote, and
  867.           pauses for a period of time (determined by the q numeric parameter)
  868.           before returning from the term function to allow characters to echo.
  869.           Other than that final pause, putw operates the same as the put
  870.           command.
  871.           NOTE: Putw should not be used when the next operation will be a
  872.           pattern or wait command.  If the expected response starts before the
  873.           putw command finishes, the following wait command will never get to
  874.           "see" what it is waiting for.  In general, the putw command should
  875.           only be used as a short-cut for sending a command when the response
  876.           is known in advance and can be safely ignored.
  877.  
  878.           SEE ALSO: put, mput commands
  879.  
  880.         putv svar The putv command transmits svar to the remote without any
  881.           translation of character escapes.  Putv does not append a carriage
  882.           return or line feed to the transmitted string.
  883.  
  884.           EXAMPLE: putv s0; put "\r"
  885.  
  886.  
  887.           SEE ALSO: put, mput commands
  888.  
  889.         pwd Print Working Directory displays the current directory pathname,
  890.           and stores it in the pwd string parameter.
  891.  
  892.           EXAMPLE: pwd
  893.  
  894.  
  895.           SEE ALSO: cd command
  896.  
  897.  
  898.  
  899.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  900.  
  901.  
  902.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  903.         ZCOMM User Manual                                                  106
  904.  
  905.  
  906.         pxN Set Numeric parameter x to value N.  If x and N are blank, display
  907.           the numeric parameters which can be set by this command and their
  908.           current values.  This command is not allowed if Restricted.  Numeric
  909.           parameters are described in Chapter 21.
  910.  
  911.           EXAMPLE: ps8 Sets the status line attribute to 8 (grey), suitable
  912.           for composite video displays.
  913.  
  914.  
  915.           EXAMPLE: pv-1 Sets the v numeric parameter ("verbose") to -1,
  916.           suppressing some routine messages.  More negative values suppress
  917.           more routine messages.
  918.  
  919.  
  920.           EXAMPLE: pd1 Sets the d numeric parameter to 1, causing files
  921.           received with ZMODEM or full YMODEM Batch protocol to be stored with
  922.           the same modification date as the source file.
  923.  
  924.  
  925.           EXAMPLE: pk3 Sets the k numeric parameter to 3, which kills pending
  926.           output stored in the circulat buffer when ETX (Ctrl-C) (decimal 3)
  927.           is keyboarded in the term function.
  928.  
  929.  
  930.         queue { add [string] | clear | delete [n] | list | run } Manipulate
  931.           and execute a queue of commands for dialing numbers or other
  932.           suitable functions.  The queue contains 20 slots numbered 0 to 19.
  933.  
  934.           queue clear clears all queue entries.
  935.  
  936.           queue add [string] adds string to the queue after processing for
  937.                string substitutions.  The string is added to the first empty
  938.                queue slot available.  If string is absent, it is taken from
  939.                the next script line.  A typical string would be a command to
  940.                call a system: call telegodzilla
  941.  
  942.                Script entries used with the circular dialing queue should end
  943.                with a t command, which will enter the term function.  To stop
  944.                the queue at that point, use the ALT-N (NUKE) key.  NUKE
  945.  
  946.           queue delete [n] Delete then nth queue entry, or the currently
  947.                executing entry if n is not present.
  948.  
  949.           queue list lists the non empty queue entries.
  950.  
  951.           queue run begins execution of the queue entries.  The ALT-N (NUKE)
  952.                key, a fatal errror or any keyboarded character present after
  953.                the execution of the command in the entry terminates the queue
  954.                run command.
  955.           The queue commands are independant of the Outcall Queue available in
  956.           Host Operation.
  957.  
  958.  
  959.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  960.  
  961.  
  962.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  963.         ZCOMM User Manual                                                  107
  964.  
  965.  
  966.           EXAMPLE: The script fragment:
  967.                           queue clear
  968.                           while q set? s0 Q queue add "echo %s0"
  969.                           queue list
  970.  
  971.           Sets each queue entry to echo its own queue number, then lists the
  972.           queue entries.
  973.  
  974.  
  975.           SEE ALSO: q and Q test conditions, Shift-F5 and Shift-F6 function
  976.           keys
  977.  
  978.         quit * Causes an immediate return to the command prompt from any
  979.           script level.  Quit may be used within a command string assigned to
  980.           a function key where an unconditional return to the command prompt
  981.           is desired, even if keyboarded from the term function.
  982.  
  983.         r [oldcmd] Search back through the history file of keyboarded lines
  984.           for the first line that oldcmd is a prefix of, and execute it.  If
  985.           oldcmd is absent, execute the last locall entered keyboarded line.
  986.  
  987.           EXAMPLE:
  988.                           history C:/tmp/junk.hst
  989.                           del *.bak *.lst *.tmp *.foo
  990.                           cd bazdir
  991.                           r d
  992.                           del *.bak *.lst *.tmp *.foo (command echoes)
  993.  
  994.  
  995.           SEE ALSO: history command
  996.  
  997.         r7 [-options] [dir] [file ...] Receives with options 1 or more files
  998.           using MODEM7 batch protocol.  An optional disk and/or directory dir
  999.           may be specified.  An optional disk and/or directory dir may be
  1000.           specified.  If pathname(s) have been supplied to the r7 command and
  1001.           the sending program attempts to send more files than the number of
  1002.           names supplied to the r7 command, the transfer is aborted.  The
  1003.           command is provided for compatibility with traditional programs that
  1004.           do not support the superior YMODEM Batch or ZMODEM protocols.
  1005.  
  1006.           EXAMPLE: r7 -c
  1007.  
  1008.  
  1009.           SEE ALSO: MODEM7 batch protocol, Chapter 11.
  1010.  
  1011.         rb [-options] Receives with options 1 or more files using YMODEM batch
  1012.           protocol.  The rb command also receives files sent with SEAlink
  1013.           protocol.  Chapter 17 describes the available options.  The pathname
  1014.           and length of each file are transmitted in batch mode.  If a file is
  1015.           received in error (retries exhausted, etc.), the batch transfer will
  1016.           terminate.  If privileges are restricted, a file received in error
  1017.  
  1018.  
  1019.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1020.  
  1021.  
  1022.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1023.         ZCOMM User Manual                                                  108
  1024.  
  1025.  
  1026.           will be unlinked (erased).
  1027.  
  1028.           EXAMPLE: rb -y Receive file(s) with YMODEM replacing old files, if
  1029.           any.
  1030.  
  1031.  
  1032.           EXAMPLE: rb -g Receive file(s) with YMODEM-g.
  1033.  
  1034.           Many programs claiming to support YMODEM actually use XMODEM with
  1035.           1024 byte blocks; use ZCOMM's sx -k, rx and rx -g XMODEM commands
  1036.           with these mutants.
  1037.  
  1038.           SEE ALSO: YMODEM Batch protocol, Chapter 11.
  1039.  
  1040.         rb [-options] [dir] [file ...] Receives with options 1 or more files
  1041.           using YMODEM batch protocol.  An optional disk and/or directory dir
  1042.           may be specified.  The optional supplied pathnames file ...  are
  1043.           used in place of pathnames normally provided by the sending program.
  1044.           If the sending program attempts to send more files than the number
  1045.           of names supplied to the rb command, the transfer is aborted.
  1046.  
  1047.         rc [-options] file Receives with options a single file using the Ward
  1048.           Christensen XMODEM protocol, 128 or 1024 byte blocks, and CRC-16
  1049.           instead of an 8 bit checksum.  ZCOMM signals the sending program
  1050.           that CRC-16 is to be used.  After four errors while attempting to
  1051.           receive the first sector, ZCOMM will cancel the CRC-16 option and
  1052.           reverts to checksum operation.
  1053.  
  1054.           The probability of an undetected transmission error is much less if
  1055.           CRC-16 is used in place of the default 8 bit arithmetic checksum.
  1056.           Omen Technology Inc Recommends use of the 16 bit CRC to maintain
  1057.           data integrity at professional levels.
  1058.  
  1059.           CRC-16 is not the default because most IBM bulletin boards and
  1060.           commercial modem programs only support the 8 bit checksum.  Chapter
  1061.           17 describes the available options to the rc command.  If privileges
  1062.           are restricted, a file received in error will be deleted.
  1063.  
  1064.           EXAMPLE: rc foo.com
  1065.  
  1066.  
  1067.           SEE ALSO: XMODEM-CRC protocol, Chapter 11.
  1068.  
  1069.         read [file] Read file into the circular buffer.  Once in the buffer,
  1070.           it may be examined with the review command, searched for strings,
  1071.           and cut and pasted to other files.  If file does not fit into the
  1072.           buffer, the buffer may be cleared with the kill command (or review k
  1073.           subcommand) and subsequent read commands may be given to read more
  1074.           of it.  Review function commands are described in Chapter 20.
  1075.  
  1076.           EXAMPLE: read allsig.tmp<ENTER><Home>
  1077.  
  1078.  
  1079.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1080.  
  1081.  
  1082.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1083.         ZCOMM User Manual                                                  109
  1084.  
  1085.  
  1086.           SEE ALSO: BROwse, seek commands
  1087.           CAUTION: Iff a read command has left a transmit file open, entering
  1088.           the term function will transmit the unread portion of the file.  To
  1089.           prevent this, close the file first with ALT-C or closetx.
  1090.  
  1091.         receive Receives file(s) filespec from a Kermit program.
  1092.  
  1093.         remote Enter Host state with unrestricted privileges to allow the
  1094.           currently connected remote computer/terminal to issue commands.
  1095.           When activated by the remote command, Host state will reset when the
  1096.           modem carrier goes away.  This command is useful for transferring
  1097.           files between two machines with directly connected serial ports.
  1098.           Remote may be prefixed with restrict to limit privileges.*
  1099.  
  1100.           SEE ALSO: host command
  1101.  
  1102.         remote cwd dirspec [password] Instructs the remote Kermit server to
  1103.           change to the specified directory.  The form of dirspec varies with
  1104.           the remote system; it must be quoted if it contains special
  1105.           characters or spaces.  A password may be required by the remote
  1106.           Kermit server.
  1107.  
  1108.           SEE ALSO: Kermit Protocol, Chapter 11.
  1109.  
  1110.         remote delete filespec Instructs the remote Kermit server to delete
  1111.           the specified file(s).  The form of filespec varies with the remote
  1112.           system; it must be quoted if it contains special characters or
  1113.           spaces.
  1114.  
  1115.         remote dir dirspec Instructs the remote Kermit server to display the
  1116.           specified directory on your screen.  The form of dirspec varies with
  1117.           the remote system; it must be quoted if it contains special
  1118.           characters or spaces.  The resulting information may be redirected
  1119.           to a file with the >outfile command.
  1120.  
  1121.         remote help Instructs the remote Kermit server to display help
  1122.           information on your screen.  The resulting information may be
  1123.           redirected to a file with the >outfile command.
  1124.  
  1125.         remote host host-command-string Instructs the remote Kermit server to
  1126.           perform the specified command and display its output on your screen.
  1127.           The form of host-command-string varies with the remote system; it
  1128.           must be quoted if it contains special characters or spaces.  The
  1129.           resulting information may be redirected to a file with the >outfile
  1130.           command.
  1131.  
  1132.           EXAMPLE: remote host "kill -9 0" Terminates all your processes with
  1133.           extreme prejudice.
  1134.  
  1135.  
  1136.           SEE ALSO: !!command
  1137.  
  1138.  
  1139.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1140.  
  1141.  
  1142.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1143.         ZCOMM User Manual                                                  110
  1144.  
  1145.  
  1146.         remote print filespec Instructs the remote Kermit server to print the
  1147.           specified file(s) on the remote system.  The form of filespec varies
  1148.           with the remote system; it must be quoted if it contains special
  1149.           characters or spaces.
  1150.  
  1151.         remote space [dirspec] Instructs the remote Kermit server to display
  1152.           the free space in the specified directory on your screen.  The form
  1153.           of dirspec varies with the remote system; it must be quoted if it
  1154.           contains special characters or spaces.  The resulting information
  1155.           may be redirected to a file with the >outfile command.
  1156.  
  1157.         remote type filespec Instructs the remote Kermit server to type the
  1158.           specified file(s) on your screen.  The form of filespec varies with
  1159.           the remote system; it must be quoted if it contains special
  1160.           characters or spaces.  The resulting information may be redirected
  1161.           to a file with the >outfile command.
  1162.  
  1163.         remote who Instructs the remote Kermit server to display the logged in
  1164.           users on your screen.  The resulting information may be redirected
  1165.           to a file with the >outfile command.
  1166.  
  1167.         reset Write the contents of the circular buffer if a receive file is
  1168.           open, close all files, and reset the disk system.  This allows
  1169.           swapping diskettes.
  1170.  
  1171.         reskeys Resets the Soft Keys to empty.
  1172.  
  1173.           SEE ALSO: set command
  1174.  
  1175.         restime * Resets elapsed time and counts of bytes transmitted and
  1176.           received to zero.  The restime command may be given in a script
  1177.           immediately after login is completed to synchronize the elapsed time
  1178.           counter with the beginning of chargeable connect time.
  1179.  
  1180.           SEE ALSO: timestamp command, E test condition
  1181.  
  1182.         restrict * Restricts ZCOMM for the following command on the same line.
  1183.           This command is useful for testing.
  1184.  
  1185.           EXAMPLE: restrict cd /foo
  1186.  
  1187.  
  1188.         RETurn Returns from a script subroutine accessed by a call, source, or
  1189.           gosub command.
  1190.  
  1191.           SEE ALSO: fail command
  1192.  
  1193.         rewind Reset the buffer pointers for display, printer, and file output
  1194.           used by the term function to the beginning of the circular buffer.
  1195.           This will cause the term function to redisplay the data in the
  1196.           circular buffer.  Patterns will be rescanned.  A typical use of the
  1197.  
  1198.  
  1199.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1200.  
  1201.  
  1202.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1203.         ZCOMM User Manual                                                  111
  1204.  
  1205.  
  1206.           rewind function is to allow replay of an editing session on a remote
  1207.           machine, or to redisplay the material received if the initial
  1208.           settings of the i, c, n or v modes were incorrect for the material
  1209.           received from the remote.
  1210.           NOTE: The rewind command does not reset the buffer free character
  1211.           count.  To write the data to disk, a write command (or ALT-W) must
  1212.           be given before accepting new data from the remote.
  1213.  
  1214.           SEE ALSO: t, b, w review subcommands
  1215.  
  1216.         REView Review the data received from the host or read by the read
  1217.           command.  A screenfull is displayed at a time.  Review function
  1218.           commands are listed in Chapter 20.
  1219.  
  1220.         ro [-options] file Receives with options a single file using non-
  1221.           standard XMODEM-CRC protocol logic.  OverThruster(TM) speeds file
  1222.           downloads at the expense of error recovery.  OverThruster operation
  1223.           is controlled by the O numeric parameter.  As fans of Buckaroo
  1224.           Bonzai know, the OverThruster is not universally applicable.  A
  1225.           transmission error will almost always terminate an OverThruster file
  1226.           download.
  1227.  
  1228.           If Restricted, a file received in error will be unlinked (erased).
  1229.  
  1230.           EXAMPLE: ro foo.com
  1231.  
  1232.  
  1233.           SEE ALSO: O numeric parameter
  1234.  
  1235.         rt [-options] [dir] [file ...] Receives with options 1 or more files
  1236.           using Telink (FIDO) batch protocol.  An optional disk and/or
  1237.           directory dir may be specified.  The optional supplied pathnames
  1238.           file ...  are used in place of pathnames normally provided by the
  1239.           sending program.  If pathname(s) have been supplied to the rt
  1240.           command and the sending program attempts to send more files than the
  1241.           number of names supplied to the rt command, the transfer is aborted.
  1242.           The rt command is provided for compatibility with traditional
  1243.           programs that do not support the superior YMODEM Batch or ZMODEM
  1244.           protocols.
  1245.  
  1246.           EXAMPLE: rt -c
  1247.  
  1248.  
  1249.           SEE ALSO: Telink protocol, Chapter 11.
  1250.  
  1251.         rw [-options] file Receives with options a single file using the
  1252.           People-Link WXMODEM protocol.  Chapter 17 describes the available
  1253.           options.  If restricted, a file received in error will be unlinked
  1254.           (erased).
  1255.  
  1256.           EXAMPLE: rw foo.com
  1257.  
  1258.  
  1259.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1260.  
  1261.  
  1262.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1263.         ZCOMM User Manual                                                  112
  1264.  
  1265.  
  1266.  
  1267.  
  1268.         rx [-options] file Receives with options a single file using the Ward
  1269.           Christensen XMODEM protocol.  Chapter 17 describes the available
  1270.           options.  If restricted, a file received in error will be unlinked
  1271.           (erased).
  1272.  
  1273.           EXAMPLE: rx foo.com
  1274.  
  1275.           NOTE: The rc command should be used whenever possible instead of rx.
  1276.  
  1277.           EXAMPLE: rx -g foo.txt Receive a single file with an ACKless XMODEM
  1278.           protocol mutant incorrectly called "ymodem-g" by PCBoard and Qmodem
  1279.           programs.
  1280.  
  1281.           SEE ALSO: XMODEM protocol, Chapter 11.
  1282.  
  1283.         rz [-options] Receives with options 1 or more files using ZMODEM batch
  1284.           protocol.  Chapter 17 describes the available options.  Each file's
  1285.           pathname is obtained from the sending program.  The +, a, b, n, N,
  1286.           r, and y options are accepted from the sending program, subject to
  1287.           restriced privileges.  If the +, b, n, N, r, or y option is
  1288.           specified to the receiver, it overrides any contrary options
  1289.           specified to the sender.  Only one of the a, b, or r options may be
  1290.           specified.  Only one of the +, n, N, or y options may be specified.
  1291.           If a file is received in error (retries exhausted, etc.), the batch
  1292.           transfer will terminate.  If privileges are restricted, a file
  1293.           received in error will be unlinked (erased).
  1294.  
  1295.           EXAMPLE: rz -y
  1296.  
  1297.  
  1298.           SEE ALSO: Z mode
  1299.  
  1300.           SEE ALSO: ZMODEM protocol, Chapter 11.
  1301.  
  1302.         rz [-options] [dir] [file ...] Receives with options 1 or more files
  1303.           using ZMODEM batch protocol.  An optional disk and/or directory dir
  1304.           may be specified.  The optional supplied pathnames file ...  are
  1305.           used in place of pathnames normally provided by the sending program.
  1306.           If the sending program attempts to send more files than the number
  1307.           of names supplied to the rz command, the transfer is aborted.  To
  1308.           allow use of the rz command, Z mode (ZMODEM autodownload) should be
  1309.           turned off with a dis -Z command.
  1310.  
  1311.         s Displays status information.
  1312.  
  1313.           LSR and MSR refer to the Line Status Register and Modem Status
  1314.           Register of the modem port's 8250 UART device.
  1315.  
  1316.           TYP refers to the type of serial chip detected.  A National 16550A
  1317.  
  1318.  
  1319.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1320.  
  1321.  
  1322.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1323.         ZCOMM User Manual                                                  113
  1324.  
  1325.  
  1326.           shows as 1, an Intel 82510 shows as 2.  Other chips (without high
  1327.           speed enhancements) show as 0.
  1328.  
  1329.           "Uncorrected errors" displays the e numeric parameter, which counts
  1330.           the number of failed file transfers and "line hits" detected by the
  1331.           term function.
  1332.  
  1333.           If one or more scripts are active, the current line number (counting
  1334.           from the first line in the script file) for each script level is
  1335.           displayed.
  1336.  
  1337.           Any patterns active as a result of a pattern or wait command are
  1338.           displayed.  An S indicates not matched (still searching), F
  1339.           indicates that pattern has been matched.
  1340.  
  1341.  
  1342.           SEE ALSO: ALT-S function key
  1343.  
  1344.         s7 [-options] pathspec Send the files specified in pathspec using the
  1345.           MODEM7 batch Protocol.  Files which cannot be opened are skipped.
  1346.           An empty pathspec sends all files in the current directory.  A
  1347.           directory name expands to all regular files in that directory.
  1348.  
  1349.           If an error aborts a file transmission (retries exhausted, etc.),
  1350.           batch transfers terminate.
  1351.  
  1352.           EXAMPLE: s7 *.com Sends all *.com files
  1353.  
  1354.           NOTE The receiver must be commanded to receive the files.  This
  1355.           command is provided for compatibility with traditional programs that
  1356.           do not support the superior YMODEM Batch and ZMODEM protocols.
  1357.  
  1358.           SEE ALSO: MODEM7 batch protocol, Chapter 11.
  1359.  
  1360.         sb [-options] pathspec Send the files specified in pathspec using True
  1361.           YMODEMTm (Batch) Protocol.  The pathname, length, and modification
  1362.           time of each file are transmitted.  Files which cannot be opened are
  1363.           skipped.  An empty pathspec sends all files in the current
  1364.           directory.  A directory name expands to all regular files in that
  1365.           directory.
  1366.  
  1367.           If an error aborts a file transmission (retries exhausted, etc.),
  1368.           batch transfers terminate.  The sb command will send files with
  1369.           SEAlink protocol if the receiving program requests SEAlink.
  1370.  
  1371.           EXAMPLE: sb -k *.com Sends *.com using 1024 byte packets.
  1372.  
  1373.           NOTE The receiver must be commanded to receive the files with an rb
  1374.           command.  Unix and OS/2 users: sb command cannot be used to send
  1375.           source files that grow after the beginning of transmission.
  1376.  
  1377.  
  1378.  
  1379.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1380.  
  1381.  
  1382.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1383.         ZCOMM User Manual                                                  114
  1384.  
  1385.  
  1386.           SEE ALSO: YMODEM Batch protocol, Chapter 11, SEAlink protocol,
  1387.           Chapter 11.
  1388.  
  1389.         seek offset Iff a transmit file is open as a result of a f, open, or
  1390.           read command, position the file read pointer to offset bytes from
  1391.           the beginning of the file if offset is positive (or 0), or from the
  1392.           end of the file if offest is negative.  "Seek 0" rewinds the file to
  1393.           its beginning.
  1394.  
  1395.           EXAMPLE: open baz; seek -20000; read<ENTER>Home Reviews the last
  1396.           20000 bytes of baz.
  1397.  
  1398.  
  1399.           SEE ALSO: open, read, close
  1400.  
  1401.         send [-options] pathspec Send the files specified in pathspec with the
  1402.           Kermit protocol.  The send command sends files to either a Kermit
  1403.           server or a regular Kermit program.
  1404.  
  1405.           EXAMPLE: send -a *.asm
  1406.  
  1407.  
  1408.         set[s|c] [[_]sparam string] Set String parameter sparam to string.  As
  1409.           with all ZCOMM strings, the string must be enclosed by double quote
  1410.           characters if it contains spaces, tabs, or semicolons.  Character
  1411.           escapes must be used to represent special characters, including
  1412.           return and linefeed if needed.
  1413.  
  1414.           An optional leading underscore (_) prepended to sparam causes the
  1415.           string to be cleared by the next call command.
  1416.  
  1417.           EXAMPLE: set f8 \PXXXXX Assigns a five character automatically
  1418.           generated password (\PXXXXX character escape described in Chapter )
  1419.           to function key F8.  Once programmed this way, the F8 key will
  1420.           transmit five nonsense characters determined by the xpassword string
  1421.           parameter and the remote system's name as stored in the remote
  1422.           string parameter by the last call command.
  1423.  
  1424.  
  1425.           EXAMPLE: set _f1 "logout\r" Assigns the string "logout<ENTER>" to F1
  1426.           until the next call command.
  1427.  
  1428.  
  1429.           The parameters that may be set with this command are described in
  1430.           Chapter 22.  Case is significant in parameter names.
  1431.  
  1432.           Set without any arguments will display all non empty string
  1433.           parameters and their values.  If the v (verbose) numeric parameter
  1434.           is non zero, all string parameters are displayed.  The echo and lput
  1435.           commands may be used to display string parameters ("echo %svar").
  1436.  
  1437.  
  1438.  
  1439.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1440.  
  1441.  
  1442.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1443.         ZCOMM User Manual                                                  115
  1444.  
  1445.  
  1446.           The setc command performs string substitutions and character escape
  1447.           expansions on string before storing.  The sets command performs
  1448.           string substitutions on string before storing.
  1449.           N.B.: Chapter 23 discusses string concatenation.
  1450.  
  1451.           EXAMPLE: sets s2 "%z1" Assigns the second token (%z1) generated by
  1452.           the split command to string parameter s2.
  1453.  
  1454.  
  1455.           If other commands are to follow on the same line, a semicolon must
  1456.           be used to separate the commands.
  1457.  
  1458.           EXAMPLE: set s1 "su"; goto sendit Would be illegal if the ";" were
  1459.           left out.
  1460.  
  1461.  
  1462.           A string parameter may be set to empty with
  1463.  
  1464.                           set sparam ""
  1465.  
  1466.           (empty string enclosed by double quote characters).
  1467.  
  1468.           EXAMPLE: pv1; set Displays all string parameters, including all Soft
  1469.           Keys.
  1470.  
  1471.  
  1472.           EXAMPLE: sets s8 "S9 EQUALS %s9" Substitutes the value of string
  1473.           parameter s9 in the argument before assigning it to s8.
  1474.  
  1475.  
  1476.           SEE ALSO: echo, if, keys, reskeys, ALT-K, commands
  1477.           NOTE: When defining function keys to be called from within the term
  1478.           function, do not use the t or f commands.  Instead use the create or
  1479.           open commands to prevent excessive term function recursion.
  1480.  
  1481.           Assigning a string to a function key with the set command causes
  1482.           that string to be sent to the remote when the key is used within the
  1483.           term function.  If the string begins with @, the remainder of the
  1484.           string is executed as a ZCOMM command.
  1485.  
  1486.           EXAMPLE: set f3 "@rb" Assigns the rb command to F3.
  1487.  
  1488.  
  1489.         set[s|c] [_]sparam This form of the set command allows strings
  1490.           containing double quote (") characters to be defined.
  1491.  
  1492.           Given with string parameter sparam, but no string, set reads string
  1493.           from the next line verbatim, with only the trailing CR/LF removed.
  1494.           The line should not begin with a space or tab unless one is required
  1495.           for string.  This form may be used for entering strings containing
  1496.           double quotes.  If a script is active, the next line is read from
  1497.  
  1498.  
  1499.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1500.  
  1501.  
  1502.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1503.         ZCOMM User Manual                                                  116
  1504.  
  1505.  
  1506.           the current script file, otherwise the user is prompted for it.
  1507.           NOTE: This form of the set command cannot be used as the predicate
  1508.           of an if command.  The argument should not appear as a label or
  1509.           telephone directory entry.
  1510.  
  1511.           EXAMPLE: set outahost
  1512.           @o; pk3; sp 2400; set disks "abcd"; putw "\336ATM0H1\r" Programs
  1513.           outahost to drop DTR ("o"), set 2400 baud, allow disks a,b,c, and d,
  1514.           and send an ATM0H1 (go off hook) command to the modem to busy out
  1515.           the telephone line.
  1516.  
  1517.  
  1518.         setn sparam expression The setn command stores as a decimal number the
  1519.           result of an arithmetic expression consisting of decimal numbers,
  1520.           string variables, the length of string variables denoted with %, and
  1521.           the oprators +, -, *, and /.  The expression is exaluated strictly
  1522.           left to right with 32 bit precision.
  1523.  
  1524.           EXAMPLE: setn vv 1+vv
  1525.  
  1526.  
  1527.         set? sparam condition The set?  command stores a decimal number
  1528.           representing the result of a test condition.
  1529.  
  1530.           EXAMPLE: set? s0 S Stores the value of the S test condition
  1531.           (transmission speed) in string variable s0.
  1532.  
  1533.  
  1534.         sleep deci-seconds Sleep causes ZCOMM to pause for the specified
  1535.           tenths of seconds.  This command may be used in a script with one or
  1536.           more put commands to login to a timesharing service.  The presence
  1537.           of a character in the keyboard buffer will cause the sleep to
  1538.           command to finish at once.
  1539.  
  1540.           The maximum sleep time is 32000 tenths of seconds.  Applications
  1541.           involving long sleep times may be better handled with the Host
  1542.           Operation callout queue.
  1543.  
  1544.           EXAMPLE: sleep 30 Pauses for 3 seconds.
  1545.  
  1546.  
  1547.         Soft Keys The Soft Keys F5-F12, SF1-FS10, FC1-FC10, FA1-FA10,  Ins,
  1548.           Del, Home, End, Up, Down, Left, Right, PgUp, and PgDn may be
  1549.  
  1550.  
  1551.         __________
  1552.  
  1553.         13. Because a failed if command would skip to the next line, the
  1554.             argument of the set command, and attempt to execute it as a script
  1555.             line.
  1556.  
  1557.  
  1558.  
  1559.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1560.  
  1561.  
  1562.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1563.         ZCOMM User Manual                                                  117
  1564.  
  1565.  
  1566.           programmed with commands by set commands given in script files,
  1567.           including the "setup" entry in the distribution PHODIR.t file.  The
  1568.           commands assigned to these keys may be displayed with the keys or
  1569.           ALT-K command.  To get a current list of the available soft keys
  1570.           (and other string parameters), keyboard the following three
  1571.           commands:
  1572.  
  1573.                           pv1
  1574.                           >keylist
  1575.                           set
  1576.                           close; pv0
  1577.  
  1578.         source sourcefile Accept script commands from sourcefile.  The source
  1579.           and call commands may be nested with up to six[14] scripts open at
  1580.           once.
  1581.  
  1582.           If the script has a READ ONLY attribute, ZCOMM is unrestricted
  1583.           during execution of the script.*
  1584.  
  1585.           Command lines in files accessed by the source command must begin
  1586.           with a tab, space, or label.  Goto commands within sourcefile search
  1587.           for labels in the same sourcefile.  Gosub commands within sourcefile
  1588.           access subroutines in the telephone directory accessed by the phones
  1589.           string parameter.
  1590.  
  1591.           EXAMPLE: bud             source /usr/bin/caf/bin/callbud
  1592.           This telephone directory entry pat calls a separate script file
  1593.           containing commands to call a secret system.  Placing this
  1594.           information in a separate file keeps it out of the main telephone
  1595.           directory file, which might be used on a number of computers.
  1596.  
  1597.  
  1598.           SEE ALSO: gosub command
  1599.  
  1600.         SPeed m Set the transmission speed ("baud rate") to m.  If the speed
  1601.           specified is odd, or equal to 110, two stop bits are transmitted;
  1602.           otherwise one stop bit is transmitted.
  1603.  
  1604.           EXAMPLE: speed 1200
  1605.  
  1606.           NOTE: Some older U.S. Robotics modems cannot accept the sustained
  1607.           full speed output ZCOMM is capable of.  Using speed 2350 corrects
  1608.           such a problem with the U.S. Robotics Courier 2400.
  1609.  
  1610.  
  1611.  
  1612.         __________
  1613.  
  1614.         14. Deep nesting may require a decrease in circular buffer memory
  1615.             allocation.
  1616.  
  1617.  
  1618.  
  1619.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1620.  
  1621.  
  1622.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1623.         ZCOMM User Manual                                                  118
  1624.  
  1625.  
  1626.           Some 1200 and 2400 bps modems work better (lower error rate) if the
  1627.           speed is set to slightly less than the nominal 1200 or 2400.  This
  1628.           also applies to communications networks that cannot accept sustained
  1629.           full speed data, and to serial ports whose bit rate clocks are
  1630.           slightly fast.
  1631.  
  1632.           EXAMPLE: speed 1181 Sets the speed to 1181 bits per second with two
  1633.           stop bits.
  1634.  
  1635.  
  1636.           NB: Timesharing minicomputers often transmit from their serial ports
  1637.           data at higher speeds than they can accept.  In extreme cases, a
  1638.           timesharing port that supports interactive operation at 19200 bps
  1639.           may not tolerate file uploads above 2400 bps.
  1640.  
  1641.           NB: Operation at extra high speeds is affected by the operating
  1642.           system version, device drivers, memory resident software, and the
  1643.           computer's hardware design.  Chapter 26 describes some of the well
  1644.           known problems.  The new generation NS16550AN or 82510 serial
  1645.           interface circuits should be used instead of 8250's for best results
  1646.           at high speed.  This is important if special device drivers or TSR
  1647.           programs increase interrupt latency.
  1648.  
  1649.           SEE ALSO: 7e, 7o, 7m, 7s, 8n, 8g modes, handshake command
  1650.  
  1651.         split svar Split (parse) string parameter svar into tokens stored in
  1652.           string parameters z0...z9 using one or more of the characters in
  1653.           string parameter ifs ("Internal Field Separator") to separate the
  1654.           tokens. **
  1655.  
  1656.           EXAMPLE: If string parameter s1 contains "hello there folks" and ifs
  1657.           contains a space and tab, split s1 Assigns "hello" to z0, "there" to
  1658.           z1, and "folks" to z2.
  1659.  
  1660.  
  1661.           EXAMPLE: Let s0 contain "#1234567-This is big-time Parsing", and ifs
  1662.           contain "#1256- ".  The command split s0 Assigns "34" to z0, "7" to
  1663.           z1, "This" to z2, "is" to z3, "big" to z4, "time" to z5, and
  1664.           "Parsing" to z6.
  1665.  
  1666.  
  1667.           SEE ALSO: y0...y127 string parameters, I,i,p test conditions, sets
  1668.           command
  1669.  
  1670.         split svar string ... uses one string for each token generated.  An
  1671.           empty string ("") assigns the rest of svar to the next token.
  1672.           Otherwise, if tokens remain after the strings are exhausted, ifs is
  1673.           used for parsing the remaining tokens.
  1674.  
  1675.           EXAMPLE: If s0 contains "#1234567-This is ZCOMM Parsing", The
  1676.           command split s0 "-" "" Assigns "#1234567" to z0 and "This is ZCOMM
  1677.  
  1678.  
  1679.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1680.  
  1681.  
  1682.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1683.         ZCOMM User Manual                                                  119
  1684.  
  1685.  
  1686.           Parsing" to z1.
  1687.  
  1688.  
  1689.           EXAMPLE: If s0 contains "503-621-3746", The command split s0 "-" "-"
  1690.           Assigns "503" to z0, "621" to z1, and "3746" to z2.
  1691.  
  1692.  
  1693.           SEE ALSO: ss command, scripts, Chapter 99
  1694.  
  1695.         ss svar regular_expression String Split svar according to regular-
  1696.           expression.  ** Regular expressions are described in Chapter 23.
  1697.           The entire matched string (if any) is stored in the z0 string
  1698.           parameter.
  1699.  
  1700.           Matched groups are stored in the z1...z9 string parameters.
  1701.           Parameters which do not receive a matched string or substring are
  1702.           set empty.
  1703.  
  1704.           EXAMPLE: If string parameter s0 contains
  1705.                   From: Captain Midnight To: HBO Inc.
  1706.           then the command                 split s0 "From: (.*) To: (.*)"
  1707.           places "Captain Midnight" in z1 and "HBO Inc." in z2.  In this case,
  1708.           z0 will contain the entire contents of s0.
  1709.  
  1710.  
  1711.           SEE ALSO: split command, regular-expressions Chapter 23
  1712.  
  1713.         st [-options] pathspec Send the files specified in pathspec using the
  1714.           Telink (FIDO) batch Protocol.  The pathname, length, and
  1715.           modification time of each file are transmitted.  Files which cannot
  1716.           be opened are skipped.  An empty pathspec sends all files in the
  1717.           current directory.  A directory name expands to all regular files in
  1718.           that directory.
  1719.  
  1720.           If an error aborts a file transmission (retries exhausted, etc.),
  1721.           batch transfers terminate.
  1722.  
  1723.           EXAMPLE: st *.com Sends *.com
  1724.  
  1725.           NOTE The receiver must be commanded to receive the files.
  1726.  
  1727.           SEE ALSO: Telink protocol, Chapter 11.
  1728.  
  1729.         sum pathspec Checksums the named text files with an alogrithym
  1730.           compatible with sum(1) on Version 7 Unix (sum -r on System III/V).
  1731.           Carriage returns, and all characters starting with the first
  1732.           instance of CPMEOF (^Z) are excluded.  This processing allows
  1733.           comparison of plain ASCII source files stored on the different
  1734.           systems, but not binary files.  The checksum is printed in octal,
  1735.           followed by a count of 512 byte blocks and bytes read.
  1736.  
  1737.  
  1738.  
  1739.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1740.  
  1741.  
  1742.         Version 17.32 TurboDial 2.33            Universal Line Printer Edition
  1743.         ZCOMM User Manual                                                  120
  1744.  
  1745.  
  1746.           EXAMPLE: sum *.c Checksums all C source files in the current
  1747.           directory.
  1748.  
  1749.  
  1750.           SEE ALSO: crc, chek, wc commands
  1751.  
  1752.         sx [-options] file Send a single file using the Ward Christensen
  1753.           XMODEM or XMODEM-CRC protocol.  The receiving program may request
  1754.           use of a 16 bit CRC, which is more accurate than the default
  1755.           checksum.  DOS/Unix files sent this way will have Control-Z (CPMEOF)
  1756.           garbage characters appended to make the file length a multiple of
  1757.           128.
  1758.  
  1759.           EXAMPLE: sx foo.com
  1760.  
  1761.  
  1762.           EXAMPLE: sx -k foo.com Sends foo.com using 1024 byte blocks
  1763.  
  1764.           NOTE: The receiver must be commanded to receive the file with an rx
  1765.           filename or rc filename command.
  1766.  
  1767.           SEE ALSO: XMODEM, XMODEM-1k, XMODEM-CRC protocols, Chapter 11.
  1768.  
  1769.         sz [-options] [PREFIX=p | ONAME=x] pathspec Send the files specified
  1770.           in pathspec using ZMODEM Batch Protocol.[15] The +, a, b, n, N, r,
  1771.           y, and Z options are sent to the receiving program.  Only one of the
  1772.           a, b, or r options may be specified.  Only one of the +, n, N, or y
  1773.           options may be specified.  The pathname, length, and modification
  1774.           time of each file are transmitted.  Files which cannot be opened are
  1775.           skipped.  An empty pathspec sends all files in the current
  1776.           directory.  A directory name expands to all regular files in that
  1777.           directory.
  1778.  
  1779.           If ONAME=x is given after the options (if any) and before the file
  1780.           name(s), x will be used as the COMPLETE destination pathname instead
  1781.           of each file's actual pathname.
  1782.  
  1783.           EXAMPLE: sz -y ONAME=B:/spiked/secret /soviet/sdi/newlaser.doc
  1784.           Results in the destination file secret on drive B: in the /spiked
  1785.           directory.  (Destination directories must exist and be writable).
  1786.  
  1787.  
  1788.           If instead PREFIX=p is given after the options (if any) and before
  1789.           the file name(s), p will be added to the destination pathname(s) as
  1790.  
  1791.  
  1792.         __________
  1793.  
  1794.         15. The receiver may trigger transmssion with the ZMODEM protocol
  1795.             zcommand command.
  1796.  
  1797.  
  1798.  
  1799.         (C) 1988 Omen Tech Inc                        Chapter 17 Main Commands
  1800.  
  1801.